﻿namespace Odyssey.Consul.Configurations
{
    public class ACLConfiguration
    {
        /// <summary>
        /// 是否启用Acl
        /// </summary>
        public bool enabled { get; set; }

        /// <summary>
        /// policy的缓存时间 默认=30s
        /// </summary>
        public string policy_ttl { get; set; } = "30s";

        /// <summary>
        /// 是否启用token持久化
        /// </summary>
        public bool enable_token_persistence { get; set; }
    }
}
